package top.yuechenc.manage.entity;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "sp_type")
public class SpType {
    /**
     * 主键id
     */
    @Id
    @Column(name = "type_id")
    private Short typeId;

    /**
     * 类型名称
     */
    @Column(name = "type_name")
    private String typeName;

    /**
     * 删除时间标志
     */
    @Column(name = "delete_time")
    private Integer deleteTime;

    /**
     * 获取主键id
     *
     * @return type_id - 主键id
     */
    public Short getTypeId() {
        return typeId;
    }

    /**
     * 设置主键id
     *
     * @param typeId 主键id
     */
    public void setTypeId(Short typeId) {
        this.typeId = typeId;
    }

    /**
     * 获取类型名称
     *
     * @return type_name - 类型名称
     */
    public String getTypeName() {
        return typeName;
    }

    /**
     * 设置类型名称
     *
     * @param typeName 类型名称
     */
    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    /**
     * 获取删除时间标志
     *
     * @return delete_time - 删除时间标志
     */
    public Integer getDeleteTime() {
        return deleteTime;
    }

    /**
     * 设置删除时间标志
     *
     * @param deleteTime 删除时间标志
     */
    public void setDeleteTime(Integer deleteTime) {
        this.deleteTime = deleteTime;
    }
}